<!DOCTYPE html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<div>
    {{info}}
    <!--属性绑定，让某个属性的值和变量进行绑定-->
    <input type="text" :value="info">
    <input type="text" v-bind:value="info">
    <!--如果元素的属性里面出现变量，必须在属性前面加上冒号-->
    <a :href="url">超链接</a>
    <img :src="imgName">
</div>
<body>
<div>
    <script src="../js/vue.min.js"></script>
    <script>
        let v = new Vue({
            el:"body>div",
            data:{
                info:"属性绑定",
                url:"http://www.baidu.com",
                imgName:"img/a.jpg"
            }
        })
    </script>
</div>
</body>
</html>